Skip to content

auto-gen: SDK changes (5718897f) - #430

Draft
Diego Barajas (barajas-d) wants to merge 1 commit into
masterfrom
auto-gen/5718897f-generic
Draft

Diego Barajas (barajas-d) wants to merge 1 commit into
masterfrom
auto-gen/5718897f-generic

Conversation

@barajas-d

Copy link
Copy Markdown
Contributor

Automated code generation.

generation_id: 5718897f-2080-4540-b69b-17f27bf4d0bd

Review required before merge.

@barajas-d

Copy link
Copy Markdown
Contributor Author

Automated reviewer warnings

This pull request was created with the following advisory findings. Review them before merging:

  • [REQ-01] Make the assertion consistent: either build the StoreCreateRequest with all fields matching /mocks/request/store/store_base.json (including location and business_hours), or reduce the mock to the fields actually sent (name only). Do not change existing repository files outside the five operations' files. (src/test/java/com/mercadopago/client/store/StoreClientTest.java, src/test/java/com/mercadopago/resources/mocks/request/store/store_base.json): Test builds StoreCreateRequest.builder().name("Store Name").build() but asserts equality against a mock containing user_id, external_id, business_hours and location.
  • [REQ-04] Make the assertion consistent: either build the StoreUpdateRequest with fields matching /mocks/request/store/store_update.json (location and business_hours), or reduce the mock to {"name":"Updated Store Name"}. (src/test/java/com/mercadopago/client/store/StoreClientTest.java, src/test/java/com/mercadopago/resources/mocks/request/store/store_update.json): Test builds StoreUpdateRequest.builder().name("Updated Store Name").build() but asserts equality against a mock containing location and business_hours objects.
  • src/main/java/com/mercadopago/client/store/StoreCreateRequest.java: unused import com.google.gson.annotations.SerializedName (non-blocking cleanup).
  • src/main/java/com/mercadopago/client/store/StoreUpdateRequest.java: unused import com.google.gson.annotations.SerializedName (non-blocking cleanup).
  • No runtime/credentials available in this review to execute the test suite; compilation and test execution could not be observed directly (advisory only).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant